package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.OrderPageDto;
import com.itheima.reggie.entity.OrderDetail;
import com.itheima.reggie.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Jiang
 * @date 2022/2/19
 */
@Mapper
public interface OrderMapper extends BaseMapper<Orders> {
    Page<Orders> selectByPage(Page<Orders> pages, @Param("order") OrderPageDto order);
}
